package com.topone.service;

import com.topone.dataObject.TcUser;
import com.topone.dto.TcUserDTO;

/**
 * Created by Administrator on 2017/11/6,0006.
 */
public interface TcUserService {
    //根据id去查用户信息
    TcUser findOne(String userId);

    TcUser findUserInfo(String userName);

    TcUser findByopenid(String openid);

    TcUser save(TcUser tcUser);

    TcUserDTO findUserInfoByopenid(String openid);

    Integer insertUserInfo(TcUserDTO tcUserDTO);

    Integer updateUserInfo(TcUserDTO tcUserDTO);

    //根据openid查询手机号
    TcUserDTO findUserByOpenid(String openid);

}
